#!/bin/sh
JOB="$1"
JSBUILDER="./tool/bin/JSBuilder2.jar"
DEPLOY_DIR="../../deploy/"
    
make_all(){
    make_framework
    make_application
}

make_framework(){
    java -jar $JSBUILDER -p ./ext.jsb2 -d $DEPLOY_DIR -v
}

make_application(){
    java -jar $JSBUILDER -p ./oms.jsb2 -d $DEPLOY_DIR -v
}

eval make_$JOB
